<?php
namespace app\common\validate;

use \app\extra\BaseValidate;

class Match extends BaseValidate
{
    protected $rule = [
        'name|赛事标题' =>[
            'require',
            'length' => '0,200'
        ],
        'start_time|开始时间' =>[
            'require',
        ],
        'end_time|结束时间' =>[
            'require',
        ],
        'desc|赛事描述' =>[
            'require',
        ],
        'cate_id|赛事分类' =>[
            'require',
        ],
    ];
    protected $scene = [
    ];
}